<template>
  <div class="huaun">
    <el-button @click="toAttack" type="primary">攻击面</el-button>
    <el-button @click="toExpose" type="info">暴露面</el-button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
// 跳转
const router = useRouter();
const toAttack = () => {
  router.push("/Assault/AttackList");
};
const toExpose = () => {
  router.push("/Exposure/ExposeList");
};
</script>

<style lang="scss" scoped>
.huaun {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
